
/*===========================================================================
  Documents page (redesigned) — applied to TAYLEE documents.html
  Uses .docs-* classes; legacy .topic-box / .box / .Archive_* below are kept
  for the subpages (Document Archive Project / ME / CS).
===========================================================================*/

.docs-page{
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 56px 8px 120px;
    font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
    color: #0f172a;
    box-sizing: border-box;
}

.docs-page__header{
    margin-bottom: 56px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e6e9f1;
}

.docs-page__eyebrow{
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #5b6b8c;
}

.docs-page__title{
    margin: 0 0 14px;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1.2;
}

.docs-page__subtitle{
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: #64748b;
    line-height: 1.6;
}

.docs-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.docs-card{
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e6e9f1;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    transition: transform 0.28s ease,
                box-shadow 0.28s ease,
                border-color 0.28s ease;
}

.docs-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
    border-color: #003B62;
}

.docs-card__media{
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f1f5f9;
    overflow: hidden;
}

.docs-card__media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.docs-card:hover .docs-card__media img{
    transform: scale(1.05);
}

/* logo-style media tile (archive subpages): contain the logo on a soft surface
   instead of cropping it like a 16:9 photo */
.docs-card__media--logo{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:18px 26px;
    background:linear-gradient(135deg,#f8fafc 0%,#eef2f7 100%);
}
.docs-card__media--logo img,
.docs-card__media--logo svg{
    width:auto;
    height:auto;
    max-width:80%;
    max-height:66%;
    object-fit:contain;
    transition:transform .45s ease;
}
.docs-card:hover .docs-card__media--logo img,
.docs-card:hover .docs-card__media--logo svg{
    transform:scale(1.06);
}

/* external (Notion) cue on the CTA */
.docs-card__cta--ext{ color:#64748b; }
.docs-card__cta--ext .docs-card__cta-arrow{ font-size:12px; }

.docs-card__badge{
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #003B62;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 999px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.docs-card__body{
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 24px 24px;
}

.docs-card__title{
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #0f172a;
    line-height: 1.35;
}

.docs-card__meta{
    margin: 0 0 22px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.02em;
}

.docs-card__cta{
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    transition: color 0.25s ease;
}

.docs-card__cta-arrow{
    display: inline-block;
    transition: transform 0.25s ease;
}

.docs-card:hover .docs-card__cta{
    color: #003B62;
}

.docs-card:hover .docs-card__cta-arrow{
    transform: translateX(4px);
}

@media (max-width: 1030px){
    .docs-grid{
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .docs-page__title{
        font-size: 32px;
    }
}

@media (max-width: 640px){
    .docs-page{
        padding: 36px 4px 80px;
    }
    .docs-grid{
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .docs-page__title{
        font-size: 26px;
    }
    .docs-page__subtitle{
        font-size: 14px;
    }
    .docs-page__header{
        margin-bottom: 36px;
        padding-bottom: 20px;
    }
    .docs-card__title{
        font-size: 18px;
    }
}


/*P6---------------------------Document main page---------------------------*/

.topic-box{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 230px;
    margin-bottom: 100px;
    border-radius: 0%;
    margin-left:0px;
    box-shadow: 5px 5px 10px 5px rgba(1, 1, 65, 0.1);;
}


.topic-box-image{
    margin-top: 40px;
    width: 350px;
    height: 100px;
    margin-right:5px;
    margin-left: 30px;

}

.topic-box-img{
    width:300px;
    height:80px;
    border-radius: 1%;
}

.topic-box-script{
    margin-top: 35px;
    width: 550px;
    margin-left:20px;

}

.topic-Ob-title{
    margin-bottom: 0px;
    margin-top:15px;
    margin-left:15px;
    font-size: 23px;
    font-weight: 800;
    align-items: center;
    text-align: left;
}

.topic-Ob-descript{
    font-family: sans-serif;
    font-size: 20px;
    font-weight: 500;
    width: 350px;
    text-align: left;
    margin-left:35px;
    margin-top: 20px;
    color: var(--accent);
}

.topic-box:hover{
    transition : 1.2s;
    transform: scale(1.05);
    box-shadow: yellowgreen;
  }

#MEImg{
    border-radius: 13%;
}

#CSImg{
    border-radius: 10%;
}

/*-----------------------------------*/

.Archive_box{
    display:flex;
    flex-direction: column;
    align-items: center;
}

.Archive_title{
    display: block;
    margin-right:750px;
    margin-top:100px;
    align-items: center;
    font-size: 27px;
    width: 300px;
}

.For_details{
    font-size:18px;
    margin-right:740px;
    margin-top: 0;
    margin-bottom: 30px;
    margin-left: 50px;
}

/*숫자가 앞에 올 수는 없다 CLASS 이름*/

.Archive_list{
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: left;    
    margin-bottom: 200px;
    margin-top: 50px;
    max-width:100%;
    align-items: center;
}

.box{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 170px;
    margin-bottom: 70px;
    border-radius: 0%;
    margin-left:0px;
    box-shadow: 10px 10px 20px 5px rgba(1, 1, 65, 0.1);;
    /*(오른쪽으로 얼마나 넓히는지) (아래로 얼마나 넓히는지) (얼마나 부드럽게 표현하는지) (전반적인 영역)*/
}

.box-image{
    margin-top: 45px;
    width: 350px;
    height: 100px;
    margin-right:5px;
    margin-left: 30px;

}

.box-img{
    width:300px;
    height:80px;
    border-radius: 1%;
}

.box-script{
    margin-top: 35px;
    width: 450px;
    margin-left:25px;

}

/*------------*/
.Ob-title{
    margin-bottom: 0px;
    margin-top:15px;
    margin-left:15px;
    font-size: 23px;
    font-weight: 800;
    align-items: center;
    text-align: left;
}

.Ob-descript{
    font-family: sans-serif;
    font-size: 18px;
    font-weight: 500;
    width: 200px;
    text-align: left;
    margin-left:35px;
    margin-top: 15px;
    color: var(--accent);
}

.notion{
    margin-left:7px;
}

/* Customize */

#springcloud-img{
    margin-top:-10px;
}

#notion_img{
    vertical-align:middle;
    margin-bottom: 4px;
}

#net_box_image{
    margin-top: 25px;
    
}

#network-img{
    border-radius: 10px;
}

#java_box_image{
    margin-top: 25px;
    margin-left: 40px;
}

#java_title{
    margin-left:0px;
}

#java_descript{
    margin-left:20px;
}


/* 화면이 800px 이하일 때 */
@media (max-width: 1500px) {
  .For_details {
    width: 300px;
    margin-right:700px;
    font-size: 18px;
  }
}


@media screen and (max-width: 1030px){
    
    .Archive_list{
        display: flex;
        flex-direction: column;
        justify-content: center; 
        align-items: left;    
        margin-bottom: 200px;
        margin-top: 50px;
        max-width:700px;
        align-items: center;
    }


    .For_details{
        width: 300px;
        margin-right:240px;
    }
    .Research-img{
        display: flex;
        flex-direction: column;    
    }

    .Research-class{
        margin-top:50px;
        margin-bottom:50px;
    }

    
    .Archive_title{
        margin-right:280px;
        margin-top:50px;
    }
    
    .box{
        width:100%;
        height:150px;
    }    

    .box-image{
        margin-top: 38px;
        width:250px;
    
    }

    #spring-img{
        width:250px;
        height:70px;
        margin-left:-5px;
    }

    #springcloud-img{
        width:280px;
        height: 100px;
        margin-top: -10px;
    }

    #network-img{
        width:250px;
        height:100px;
        margin-left:-5px;
        border-radius: 10px;
    }

    #java-img{
        margin-left: -20px;
        margin-top: -5px;
    }

    #java_title{
        margin-left: 0px;
    }

    #java_descript{
        margin-left: 5px;
    }


    .box-script{
        margin-top: 25px;
        width: 300px;
        margin-left:20px;
    
    }
    .Ob-title{
        font-size:18px;
    }

}